using("Frame");
FilterFrame.inherit("Frame");


function FilterFrame(node){
    this.Frame(node);
    this.filter = this.properties.getObject("content");
}

FilterFrame.prototype.getContentState=function () {
	return "";
}						


FilterFrame.prototype.clear=function () {
    var iter = new NodeIterator(this.node);
    while (iter.hasNext()){
        var node = iter.next();
        if (!Framework.instance.isControlNode(node)){
            continue;
        }
        var control = Framework.instance.getControlByNode(node);
        if (Utils.isDefined(control["clear"])) {
            control.clear();
        }
        
        iter.skipChildNodes();
    }
}
